package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * SKU详情实体
 * 表名 mall_sku
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 08 17:32:32 CST 2019
 */
@Setter
@Getter
public class MallSkuEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //产品ID
    private Long goodsId;
    //名称
    private String name;
    //库存
    private Integer stock;
    //原价
    private BigDecimal oldPrice;
    //现价
    private BigDecimal nowPrice;
    //成本
    private BigDecimal primePrice;
    //重量kg
    private BigDecimal weight;
    //利润
    private BigDecimal profit;
    //产品图片
    private String img;
    //ENUM-状态:"CLOSE-关闭","OPEN-打开"
    private Boolean disable;

    public MallSkuEntity(){

    }

}
